//
//  ZYAudioManager.h
//  ZYAudioPlaying
//
//  Created by 王志盼 on 15/10/12.
//  Copyright © 2015年 王志盼. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>

@interface ZYAudioManager : NSObject

@property (nonatomic, strong) MPMediaItem *nowPlayItem;

+ (instancetype)defaultManager;

//播放音乐
- (void)playingMusic:(MPMediaItem *)item;
- (void)playPauseMusic;
- (void)stopMusic;

- (MPMediaItem *)nextMusic;
- (MPMediaItem *)preMusic;
- (void)beginMusic;
- (MPMusicPlayerController *)mpcVC;
@end
